/**
 * 
 */
package cn.nawang.ebeim.ui.bean;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: TerminalBean
 * @Description: TODO
 * @author 张建峰
 * @date 2015年8月6日 下午6:04:42
 * @version v1.0
 */
public class TerminalBean {
  //唯一识别
  private String id;
  //caid
  private String caId;
  //终端名称
  private String name;
  //终端状态（0正常，1停用）
  private String status;
  //终端状态描述
  private String statusStr;
  //创建时间
  private String createTimeStr;
  //创建时间搓
  private Long createTime;
  //创建人id
  private String createUserId;
  //绑定设备
  private String bindDevice;
  //绑定时间搓
  private Long bindTime;
  //绑定时间
  private String bindTimeStr;
  //绑定用户
  private String bindUserId;
  //空间大小
  private String spaceSize;
  //描述
  private String description;
  //加密备份源文件
  private String isEncryptSrc;
  //
  private String encryptSrcAlg;
  private String encryptSrcAlgKey;
  //是否记录文件变动轨迹
  private String isRecordChange;
  //启动网络安全传输
  private String isOpenSsl;
  //启动文件防篡改功能（文件安全签名）
  private String isSignatureSrc;
  //启用时间搓
  private Long enableTime;
  //启用时间
  private String enableTimeStr;
  //终端离线超过1小时
  private String alertOffline;
  //灾备任务执行异常
  private String alertTaskError;
  //购买存储空间不足
  private String alertSpaceLack;
  //终端数据源异常
  private String alertDsError;
  //终端授权近效期
  private String alertLicenseOverTime;
  //预警方式
  private String alertType;
  //最后修改人
  private String lmUserId;
  //最后修改时间搓
  private Long lmTime;
  //最后修改时间
  private String lmTimeStr;
  //客户id
  private String customerId;
  //
  private String isUser;
  //终端状态列表
  public final Map<String, String> statusMap = Constant.TERMINAL_STATUS_TYPE;
  //预警人员列表
  //private List<AlertUserBean> alertUsers = new ArrayList<AlertUserBean>();
  //已使用空间
  private Integer usedSpaceSize;
  //剩余空间
  private Integer restSpaceSize;
  
  public Integer getUsedSpaceSize() {
    return usedSpaceSize;
  }
  public void setUsedSpaceSize(Integer usedSpaceSize) {
    this.usedSpaceSize = usedSpaceSize;
  }
  public Integer getRestSpaceSize() {
    return restSpaceSize;
  }
  public void setRestSpaceSize(Integer restSpaceSize) {
    this.restSpaceSize = restSpaceSize;
  }
  public String getStatusStr() {
    return statusStr;
  }
  public void setStatusStr(String statusStr) {
    this.statusStr = statusMap.get(this.getStatus());
  }
  
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }
  public String getCaId() {
    return caId;
  }
  public void setCaId(String caId) {
    this.caId = caId;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public String getStatus() {
    return status;
  }
  public void setStatus(String status) {
    this.status = status;
  }
  public String getCreateTimeStr() {
    return createTimeStr;
  }
  public void setCreateTimeStr(String createTimeStr) {
    this.createTimeStr = createTimeStr;
  }
  public Long getCreateTime() {
    return createTime;
  }
  public void setCreateTime(Long createTime) {
    this.createTime = createTime;
  }
  public String getCreateUserId() {
    return createUserId;
  }
  public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
  }
  public String getBindDevice() {
    return bindDevice;
  }
  public void setBindDevice(String bindDevice) {
    this.bindDevice = bindDevice;
  }
  public Long getBindTime() {
    return bindTime;
  }
  public void setBindTime(Long bindTime) {
    this.bindTime = bindTime;
  }
  public String getBindTimeStr() {
    return bindTimeStr;
  }
  public void setBindTimeStr(String bindTimeStr) {
    this.bindTimeStr = bindTimeStr;
  }
  public String getBindUserId() {
    return bindUserId;
  }
  public void setBindUserId(String bindUserId) {
    this.bindUserId = bindUserId;
  }
  public String getSpaceSize() {
    return spaceSize;
  }
  public void setSpaceSize(String spaceSize) {
    this.spaceSize = spaceSize;
  }
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }
  public String getIsEncryptSrc() {
    return isEncryptSrc;
  }
  public void setIsEncryptSrc(String isEncryptSrc) {
    this.isEncryptSrc = isEncryptSrc;
  }
  public String getEncryptSrcAlg() {
    return encryptSrcAlg;
  }
  public void setEncryptSrcAlg(String encryptSrcAlg) {
    this.encryptSrcAlg = encryptSrcAlg;
  }
  public String getEncryptSrcAlgKey() {
    return encryptSrcAlgKey;
  }
  public void setEncryptSrcAlgKey(String encryptSrcAlgKey) {
    this.encryptSrcAlgKey = encryptSrcAlgKey;
  }
  public String getIsRecordChange() {
    return isRecordChange;
  }
  public void setIsRecordChange(String isRecordChange) {
    this.isRecordChange = isRecordChange;
  }
  public String getIsOpenSsl() {
    return isOpenSsl;
  }
  public void setIsOpenSsl(String isOpenSsl) {
    this.isOpenSsl = isOpenSsl;
  }
  public String getIsSignatureSrc() {
    return isSignatureSrc;
  }
  public void setIsSignatureSrc(String isSignatureSrc) {
    this.isSignatureSrc = isSignatureSrc;
  }
  public Long getEnableTime() {
    return enableTime;
  }
  public void setEnableTime(Long enableTime) {
    this.enableTime = enableTime;
  }
  public String getEnableTimeStr() {
    return enableTimeStr;
  }
  public void setEnableTimeStr(String enableTimeStr) {
    this.enableTimeStr = enableTimeStr;
  }
  public String getAlertOffline() {
    return alertOffline;
  }
  public void setAlertOffline(String alertOffline) {
    this.alertOffline = alertOffline;
  }
  public String getAlertTaskError() {
    return alertTaskError;
  }
  public void setAlertTaskError(String alertTaskError) {
    this.alertTaskError = alertTaskError;
  }
  public String getAlertSpaceLack() {
    return alertSpaceLack;
  }
  public void setAlertSpaceLack(String alertSpaceLack) {
    this.alertSpaceLack = alertSpaceLack;
  }
  public String getAlertDsError() {
    return alertDsError;
  }
  public void setAlertDsError(String alertDsError) {
    this.alertDsError = alertDsError;
  }
  public String getAlertLicenseOverTime() {
    return alertLicenseOverTime;
  }
  public void setAlertLicenseOverTime(String alertLicenseOverTime) {
    this.alertLicenseOverTime = alertLicenseOverTime;
  }
  public String getAlertType() {
    return alertType;
  }
  public void setAlertType(String alertType) {
    this.alertType = alertType;
  }
  public String getLmUserId() {
    return lmUserId;
  }
  public void setLmUserId(String lmUserId) {
    this.lmUserId = lmUserId;
  }
  public Long getLmTime() {
    return lmTime;
  }
  public void setLmTime(Long lmTime) {
    this.lmTime = lmTime;
  }
  public String getLmTimeStr() {
    return lmTimeStr;
  }
  public void setLmTimeStr(String lmTimeStr) {
    this.lmTimeStr = lmTimeStr;
  }
  public String getCustomerId() {
    return customerId;
  }
  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }
  public String getIsUser() {
    return isUser;
  }
  public void setIsUser(String isUser) {
    this.isUser = isUser;
  }
  
  
  
}
